package demo2;

public class Dog extends Animal implements Cloneable{
    public Dog(String name, String age) {
        super(name, age);
    }

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
